| Started | 2021-07-14 15:15:33 |
|---|---|
| Ended | 2021-07-14 15:15:34 |
| Duration | 0:00:00.809999 |
| Markers | xfail |
| Fixtures | file |
Setup
Call
[gw0] linux -- Python 3.9.5 /opt/hostedtoolcache/Python/3.9.5/x64/bin/python
file = '/home/runner/work/ghdl-extended-tests/ghdl-extended-tests/NEORV32/setups/osflow/devices/ecp5/ecp5_components.vhd'
@mark.parametrize(
"file",
getVHDLSources()
)
@mark.xfail
def test_AllVHDLSources(file):
> check_call(['ghdl-dom', str(file)], stderr=STDOUT)
TestDOM.py:25:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
popenargs = (['ghdl-dom', '/home/runner/work/ghdl-extended-tests/ghdl-extended-tests/NEORV32/setups/osflow/devices/ecp5/ecp5_components.vhd'],)
kwargs = {'stderr': -2}, retcode = 2
cmd = ['ghdl-dom', '/home/runner/work/ghdl-extended-tests/ghdl-extended-tests/NEORV32/setups/osflow/devices/ecp5/ecp5_components.vhd']
def check_call(*popenargs, **kwargs):
"""Run command with arguments. Wait for command to complete. If
the exit code was zero then return, otherwise raise
CalledProcessError. The CalledProcessError object will have the
return code in the returncode attribute.
The arguments are the same as for the call function. Example:
check_call(["ls", "-l"])
"""
retcode = call(*popenargs, **kwargs)
if retcode:
cmd = kwargs.get("args")
if cmd is None:
cmd = popenargs[0]
> raise CalledProcessError(retcode, cmd)
E subprocess.CalledProcessError: Command '['ghdl-dom', '/home/runner/work/ghdl-extended-tests/ghdl-extended-tests/NEORV32/setups/osflow/devices/ecp5/ecp5_components.vhd']' returned non-zero exit status 2.
/opt/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/subprocess.py:373: CalledProcessError Captured stdout call
usage: ghdl-dom [-d] [-v] [-q] {help,version,pretty} ...
ghdl-dom: error: invalid choice: '/home/runner/work/ghdl-extended-tests/ghdl-extended-tests/NEORV32/setups/osflow/devices/ecp5/ecp5_components.vhd' (choose from 'help', 'version', 'pretty')